<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>地图坐标点闪烁</title>
  </head>
  <style>
    body {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      height: 100vh;
      background-color: #262627;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .point {
      position: absolute;

      height: 12px;
      width: 12px;
      border-radius: 50%;
      background-color: red;
    }
    .point:after {
      content: "";
      position: absolute;
      width: 12px;
      left: 0;
      top: 0;
      height: 12px;
      border-radius: 50%;
      background-color: red;
      animation: scale1 1s infinite;
    }
    .point:before {
      position: absolute;
      content: "";
      width: 12px;
      border-radius: 50%;
      left: 0;
      top: 0;
      height: 12px;
      background-color: red;
      animation: scale2 2s infinite;
    }
    @keyframes scale1 {
      0% {
        transform: scale(1);
        opacity: 0.8;
      }
      100% {
        transform: scale(6);
        opacity: 0;
      }
    }
    @keyframes scale2 {
      0% {
        transform: scale(1);
        opacity: 0.8;
      }
      100% {
        transform: scale(12);
        opacity: 0;
      }
    }
  </style>
  <body>
    <div class="point"></div>
  </body>
</html>
